﻿using umbraco.interfaces;

namespace TheOutfield.UmbExt.DocTypeExtensions.Actions
{
    public class ExtractMasterDocTypeAction : IAction
    {
        public static ExtractMasterDocTypeAction Instance
        {
            get { return umbraco.Singleton<ExtractMasterDocTypeAction>.Instance; }
        }

        public char Letter
        {
            get { return 't'; }
        }

        public bool ShowInNotifier
        {
            get { return true; }
        }

        public bool CanBePermissionAssigned
        {
            get { return false; }
        }

        public string Icon
        {
            get { return ".sprExtractMasterDocType' style='background: transparent url(/umbraco/images/umbraco/extract_master_doc_type.png) center center no-repeat"; }
        }

        public string Alias
        {
            get { return "extractmasterdoctype"; }
        }

        public string JsSource
        {
            get { return ""; }
        }

        public string JsFunctionName
        {
            get { return "actionExtractMasterDocType()"; }
        }
    }
}